//
//  TMCommityDetailHeader.h
//  国学商家管理
//
//  Created by Tao Li on 2018/7/5.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^collectionBlock)(NSInteger);
typedef void(^getDiscountBlock)(NSInteger);

@class TMCourseDetailModel;
@interface TMCommityDetailHeader : UIView
@property (nonatomic, strong) TMCourseDetailModel *headModel;
@property (weak, nonatomic) IBOutlet UIImageView *courseImage;
@property (weak, nonatomic) IBOutlet UILabel *courseName;
@property (weak, nonatomic) IBOutlet UILabel *coursePrice;
@property (weak, nonatomic) IBOutlet UIButton *collectBtn;
@property (weak, nonatomic) IBOutlet UIButton *canOrderBtn;
@property (weak, nonatomic) IBOutlet UIButton *canUseBtn;
@property (weak, nonatomic) IBOutlet UILabel *teacherLabel;
@property (weak, nonatomic) IBOutlet UILabel *haveSeatLabel;
@property (weak, nonatomic) IBOutlet UILabel *openTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *endTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *totalTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *addressLabel;
@property (weak, nonatomic) IBOutlet UILabel *courseType;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *buttomConst;
@property (weak, nonatomic) IBOutlet UIView *buttomView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightConst;
@property (nonatomic, assign) BOOL isdisconut;//you hui quan
@property (weak, nonatomic) IBOutlet UILabel *vipPriceLabel;
@property (weak, nonatomic) IBOutlet UIView *linview;
@property (nonatomic, copy) collectionBlock block;
@property (nonatomic, copy) getDiscountBlock discountBlock;
@end
